using System;
using System.Runtime.InteropServices;
namespace SHDocVw
{
	[ClassInterface(ClassInterfaceType.None), TypeLibType(TypeLibTypeFlags.FHidden)]
	public sealed class DShellWindowsEvents_SinkHelper : DShellWindowsEvents
	{
		public DShellWindowsEvents_WindowRegisteredEventHandler m_WindowRegisteredDelegate;
		public DShellWindowsEvents_WindowRevokedEventHandler m_WindowRevokedDelegate;
		public int m_dwCookie;
		public override void WindowRegistered(int lCookie)
		{
			if (this.m_WindowRegisteredDelegate != null)
			{
				this.m_WindowRegisteredDelegate(lCookie);
				return;
			}
		}
		public override void WindowRevoked(int lCookie)
		{
			if (this.m_WindowRevokedDelegate != null)
			{
				this.m_WindowRevokedDelegate(lCookie);
				return;
			}
		}
		internal DShellWindowsEvents_SinkHelper()
		{
			this.m_dwCookie = 0;
			this.m_WindowRegisteredDelegate = null;
			this.m_WindowRevokedDelegate = null;
		}
	}
}
